package com.lu.sys.entity;

import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * chapter
 * @author 
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("章节表实体")
@TableName(value = "chapter")
public class Chapter implements Serializable {
    @TableId
    @ApiModelProperty(value = "主键章节表id")
    private Integer id;

    /**
     * 章节名称
     */
    @ApiModelProperty(value = "章节名称")
    private String chapterName;

    /**
     * 章节描述
     */
    @ApiModelProperty(value = "章节描述")
    private String chapterDesc;

    /**
     * 章节排序
     */
    @ApiModelProperty(value = "章节排序")
    private Integer chapterOrder;

    /**
     * 课程id
     */
    @ApiModelProperty(value = "课程id")
    private Integer courseId;

    @ApiModelProperty(value = "小节列表")
    private List<Section> sectionList;

    private static final long serialVersionUID = 1L;
}